Click or drag to resize

Logger Class

Writes all log data to a stream or a file.
Inheritance Hierarchy
SystemObject
  Independentsoft.SipLogger

Namespace:  Independentsoft.Sip
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public class Logger

The Logger type exposes the following members.

Constructors
  NameDescription
Public methodLogger
Initializes a new instance of the Logger class.
Public methodLogger(Stream)
Initializes a new instance of the Logger class with the specified log file path.
Public methodLogger(String)
Initializes a new instance of the Logger class with the specified log file path.
Public methodLogger(String, Boolean)
Initializes a new instance of the Logger with the specified log file path.
Top
Properties
  NameDescription
Public propertyAppend
Gets or sets append
Public propertyPath
Gets or sets log file path.
Public propertyStream
Gets or sets log stream.
Top
Methods
  NameDescription
Public methodClose
Closes the log file.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOpen
Opens log file or log stream.
Public methodToString (Inherited from Object.)
Public methodWrite
Writes log data to a log file or a stream.
Public methodWriteLine
Writes single line to log file or stream.
Top
Events
  NameDescription
Public eventWriteLog
Occurs to indicate the write to the log.
Top
See Also